{extend name='admin@main'}

{block name="button"}

{/block}

<style>
.nowrap{ white-space:pre-wrap !important;	}
</style>

{block name="content"}
<div class="think-box-shadow">
    {include file='dev/index_search'}
    <table class="layui-table margin-top-10" lay-skin="line">
        {notempty name='list'}
        <thead>
        <tr>
            <th class='list-table-check-td think-checkbox'>
                <input data-auto-none data-check-target='.list-check-box' type='checkbox'>
            </th>
            <th class='list-table-sort-td'>
                <button type="button" data-reload class="layui-btn layui-btn-xs">刷 新</button>
            </th>
            <th class='text-left ' style="width: 200px;word-break: break-word">通信报文</th>
            <th class='text-left nowrap' >添加时间</th>
            <th class='text-left nowrap' >桩设备编号</th>
            <th class='text-left nowrap' >Code码</th>
            <th class='text-left nowrap' >订单号</th>
            <th class='text-left nowrap' >结果</th>
            <th class='text-left nowrap' >原因</th>
        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key=>$vo}
        <tr data-dbclick>
            <td class='list-table-check-td think-checkbox'><input class="list-check-box" value='{$vo.id}' type='checkbox'></td>

            <td class='text-left nowrap'><span style="line-height: 60px">{$key+1}</span></td>
            <td class='text-left ' style="width: 200px;word-break: break-word">{$vo.code|default='--'}</td>
            <td class='text-left ' >{$vo.create_at|default='--'}</td>
            <td class='text-left ' >{$vo.device_sn|default='--'}</td>
            <td class='text-left ' >{$vo.bin_code|raw|default='--'}</td>

            <td class='text-left ' >{$vo.out_trade_no|default='--'}</td>
            <td class='text-left ' >{$vo.jieguo|default='--'}</td>
            <td class='text-left ' >{$vo.reason|default='--'}</td>

        </tr>
        {/foreach}
        </tbody>
    </table>

    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}

</div>
{/block}
